package com.linx.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.linx.common.translation.annotation.TranslationSupper;
import com.linx.common.translation.constant.TransConstant;
import com.linx.system.domain.AppUserCommonlyUsedMenu;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 移动端常用菜单视图对象 app_user_commonly_used_menu
 *
 * @author linx
 * @date 2024-12-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppUserCommonlyUsedMenu.class)
public class AppUserCommonlyUsedMenuVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long appUserCommonlyUsedMenuId;

    /**
     * 园区id
     */
    @ExcelProperty(value = "园区id")
    private Long parkInfoId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 移动端常用菜单id
     */
    @ExcelProperty(value = "移动端常用菜单id")
    private Long appMenuId;

    /**
     * 服务key
     */
    private String serviceKey;

    /**
     * 服务名称
     */
    private String serviceName;

    private Long appMenuOssId;
    /**
     * 图标
     */
    @TranslationSupper(type = TransConstant.OSS_ID_TO_URL, mapper = "appMenuOssId")
    private String imgUrl;




    /**
     * 是否可访问0可访问呢，1不可访问
     */
    private Integer isAccess;
    /**
     * 外部链接类型（1，第三方应用，2链接）
     */
    private String appMenuLinkType;

    /**
     * 是否跳转(0,是，1否)
     */
    private String appMenuLinkFlag;
    /**
     * 跳转地址
     */
    private String appMenuLinkUrl;
    /**
     * 排序
     */
    private Long sort;
}
